const gulp = require('gulp');
const rename = require("gulp-rename");

function copyTask() {
  return gulp.src('dist/static/plugins/netcall/**/*')
  .pipe(rename(function (path) {
    console.log(path);
    path.dirname += '../../'
  }))
  .pipe(gulp.dest('dest2'))
}

module.exports.default = copyTask;
